package com.earthea.scaffold.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.earthea.scaffold.common.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 字典类型表 sys_dict_type
 */
@Getter
@Setter
@ToString
@TableName("t_dict_type")
public class DictType extends BaseEntity {

    /**
     * 字典主键
     */
    @ExcelProperty("ID")
    @ColumnWidth(6)
    @TableId(type = IdType.AUTO)
    private Long dictTypeId;

    /**
     * 字典名称
     */
    @ExcelProperty("字典名称")
    @ColumnWidth(12)
    private String dictName;

    /**
     * 字典类型
     */
    @ExcelProperty("字典类型")
    @ColumnWidth(30)
    private String dictType;
}
